package cn.codeinn.service2.mapper;

import cn.codeinn.generator.util.BaseMapper;
import cn.codeinn.service2.entity.Dict;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface DictMapper extends BaseMapper<Dict> {

    @Select("select * from dict where instr(code,'${clothid}_')=1 order by parentid,sequence")
    List<Dict> selectByCloth(@Param("clothid") Integer clothid);
}
